package cn.ilikes.apps.collect.services;

import java.util.List;
import java.util.Properties;

import cn.ilikes.apps.collect.pojos.IlikesMyCollects;
import cn.ilikes.apps.collect.pojos.IlikesMyfolder;
import cn.ilikes.tools.nosql.jpa.query.pages.PageEntitys;

public interface IlikesCollectsService {

	public static String SPRING_DEFULT_NAME = "IlikesCollectsService";

	public void addTopMyfolder(String regName, IlikesMyfolder likesMyfolder) throws IlikesCollectsServiceException;

	public void addChildMyfolder(String regName, String parentsId, IlikesMyfolder likesMyfolder) throws IlikesCollectsServiceException;

	public List<IlikesMyfolder> findTopIlikesMyfolderByUserId(String regName) throws IlikesCollectsServiceException;

	public void addIlikesMyCollects(String likesMyfolderId, IlikesMyCollects likesMyCollects) throws IlikesCollectsServiceException;
	
	public List<IlikesMyCollects> findIlikesMyCollectsByfolderId(String likesMyfolderId) throws IlikesCollectsServiceException;
	
	public List<IlikesMyCollects> findIlikesMyContent(String content,int start,int size) throws IlikesCollectsServiceException;
	
          public PageEntitys  findIlikesMyCollectsByfolderId(String content,Properties  properties,int size) throws IlikesCollectsServiceException;
	
	

}
